<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort }${pageContext.request.contextPath}"
	   var="basePath" />
<jsp:include page="../commons/jsp/common.jsp"></jsp:include>
<script type="text/javascript" src="${basePath}/teacher/addTeacher.js"></script>
<div style="padding-top: 20px;padding-right: 30px">
<form class="layui-form" method="post" id="addOrUpdateForm">
  <div class="layui-form-item">
    <label class="layui-form-label"  required  style="width: 100px">姓名</label>
    <div class="layui-input-block">
      <input type="text" id="name" name="teachername" required  lay-verify="name" placeholder="请输入名字" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label" style="width: 100px">年龄</label>
    <div class="layui-input-block">
      <input type="text" id="age" name="age" required  lay-verify="age" placeholder="请输入年龄" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
  	<lable class="layui-form-label" style="width:100px">匿名</lable>
  	<div class="layui-input-block">
  		<input type="text" id="niming" name="niming" required lay-verify="niming" placeholder="请输入匿名" autocomplete="off" class="layui-input">
  	</div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label" >性别</label>
    <div class="layui-input-block" >
      <input type="radio" name="sex" value="1" title="男" >
      <input type="radio" name="sex" value="0" title="女" checked>
    </div>
  </div>
  <div class="layui-form-item">
	  <label class="layui-form-label" style="width: 100px">管理班级</label>
	  <div class="layui-input-block">
	      <input type="hidden" name="classname" id="classcode"value="">
	  	  <select name="classcode" id="class_code" required  lay-verify="class_code">
		  </select>
	  </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-input-block" >
      <button class="layui-btn" lay-submit lay-filter="formDemo" id="commit">立即提交</button>
      
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
</div>




